package com.morehair.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Description: 日期工具类
 * Date: 2021/6/
 * Time: 01:13
 * author: zhang wei
 */
public class DateUtil {

    public static Date nowTime() {
        Date date = new Date();
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        simpleDateFormat.format(date);
        return date;
    }
}
